package com.git.service;

import java.io.UnsupportedEncodingException;

import org.springframework.data.redis.serializer.SerializationException;

import com.git.domain.DemoEntity;

public interface DemoService {
	void putString(String str, String str2) throws UnsupportedEncodingException;

	String getString(String key);

	void putObject(String string, DemoEntity demoEntity) throws SerializationException, Exception;

	Object getObject(String key);


}
